package com.zlq.cn.mapper.exam;

import com.zlq.cn.dto.param.GenTestPaper;
import com.zlq.cn.entity.ExamChapters;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zlq.cn.entity.ExamQuestions;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhoucl
 * @since 2024-04-10
 */
public interface ExamChaptersMapper extends BaseMapper<ExamChapters> {

    List<ExamQuestions> randQuestions(@Param("configs") List<GenTestPaper.GenTestPaperConfig> configs);
}
